package a.h;

import javax.swing.*;
import javax.swing.table.DefaultTableCellRenderer;
import javax.swing.table.TableCellRenderer;
import java.awt.*;

public class qd
  extends pd
  implements TableCellRenderer, cd.t_
{
  private DefaultTableCellRenderer b = new DefaultTableCellRenderer();
  private tb c;
  public static int d;
  
  public qd()
  {
    super.setIcon(new ab(ec.a));
  }
  
  public Component getTableCellRendererComponent(JTable paramJTable, Object paramObject, boolean paramBoolean1, boolean paramBoolean2, int paramInt1, int paramInt2)
  {
    int i = ec.t;
    boolean bool = e();
    Color localColor = nb.b(paramObject);
    ((ab)getIcon()).a(localColor);
    this.b.getTableCellRendererComponent(paramJTable, bool ? "" : bc.a(localColor, d(), b()), paramBoolean1, paramBoolean2, paramInt1, paramInt2);
    this.b.setIcon(!bool ? getIcon() : null);
    this.b.setEnabled(c());
    if (i == 0)
    {
      if (paramBoolean1)
      {
        this.b.setForeground(paramJTable.getSelectionForeground());
        if (i != 0) {
          break label183;
        }
        this.b.setBackground(paramJTable.getSelectionBackground());
        if (!ec.s) {
          break label179;
        }
      }
      if (i != 0) {
        break label170;
      }
      this.b.setForeground(paramJTable.getForeground());
    }
    label170:
    this.b.setBackground(!bool ? paramJTable.getBackground() : ad.d());
    label179:
    label183:
    return this.b;
  }
  
  protected boolean b()
  {
    return ic.a(this.c.k());
  }
  
  protected boolean c()
  {
    return this.c.o();
  }
  
  protected boolean d()
  {
    return ic.b(this.c.k());
  }
  
  protected boolean e()
  {
    return this.c.p();
  }
  
  public tb a()
  {
    return this.c;
  }
  
  public void a(tb paramtb)
  {
    this.c = paramtb;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.h.qd

 * JD-Core Version:    0.7.0.1

 */